StoreKeeper\WooCommerce\B2C\PaymentGateway\PaymentGateway A

Total Complexity 66
Dependencies 17
Dependents 4
Total lines 524
Lines of code 332
Logical lines of code 169
Comment lines 91
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
onReturn()
A
42 6 51
registerCheckoutFlash()
S
58 8 14
refundExists()
S
52 6 24
checkPayment()
S
53 6 23
getFinalPaymentPageUrl()
S
55 6 18
addGatewayClasses()
S
46 4 38
checkRefundCreationAllowed()
S
58 5 15
createWooCommerceRefund()
S
54 4 20
storekeeperOrderHasRefundWithReturnPayment()
S
67 4 7
createStoreKeeperRefundPayment()
S
61 3 12
updateRefund()
S
58 1 18
addRefund()
S
58 1 18
querySql()
S
68 2 7
getUnsyncedRefundsPaymentIds()
S
63 1 12
getUnsyncedRefundsWithoutPaymentIds()
S
63 1 12
markRefundAsSynced()
S
62 1 12
createRefundAsPayment()
S
62 1 11
getCheckOutLogger()
S
80 1 3
hasUnsyncedRefunds()
S
79 1 3
displayFlashError()
S
71 1 5
displayFlashPending()
S
78 1 3
displayFlashCanceled()
S
78 1 3
isPaymentStatusPaid()
S
79 1 3